﻿<?xml version="1.0" encoding="utf-8" ?>
<Model xmlns="http://euss.evaluant.com/schemas/GenerationModel.xsd">

	<Package name="NUnit.MappingGenerator">

		<Class name="Person">
			<Property name="Name" type="string"/>
			<Property name="FirstName" type="string"/>
			<Property name="Age" type="System.Int32"/>
		</Class>

		<Class name="Chairman" inherit="Person">
			<Property name="CompanyName" type="string"/>
		</Class>

		<Class name="Employee" inherit="Person">
			<Property name="Salary" type="int"/>
		</Class>

		<Class name="Address">
			<Property name="City" type="string"/>
			<Property name="Street" type="System.String"/>
			<Property name="PostCode" type="int"/>
		</Class>

		<Relationship type="aggregation">
			<Parent name="Person" role="Person" multiplicity="1"/>
			<Child name="Address" role="Address" multiplicity="1"/>
		</Relationship>

		<Relationship type="aggregation">
			<Parent name="Chairman" role="Chairman" multiplicity="1"/>
			<Child name="Employee" role="Employees" multiplicity="*"/>
		</Relationship>

		<Relationship type="composition">
			<Parent name="Person" role="Person" multiplicity="1"/>
			<Child name="Title" role="Title" multiplicity="1"/>
		</Relationship>

		<Enumeration name="Title">
			<Literal name="Miss"/>
			<Literal name="Madam"/>
			<Literal name="Sir"/>
		</Enumeration>

		<Class name="TransportHeader">
			<Property name="TransportHeaderId" type="System.String"/>
			<Property name="TransportOrder" type="System.Int32"/>
			<Property name="DeliveringDate" type="DateTime"/>
			<Property name="TransporterNumber" type="System.Int32" />
		</Class>

	</Package>

</Model>


